package com.suyun.service.impl;


import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.suyun.dao.OrderDao;
import com.suyun.domain.Order;
import com.suyun.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class OrderServiceImpl2  {
    @Autowired
    private OrderDao orderDao;

    @SentinelResource("OrderServiceImpl2")  //指明资源名称
    public String message(){
        return "OrderServiceImpl2";
    }

}
